Ext.define('MyApp.model.EmployeeModel',{
	extend:'Ext.data.Model',
	idProperty: 'uid',
	fields:[{
		name:'uid'//
	},{
		name:'empName'
	},{
		name:'deptId'
	},{
		name:'empPosition'
	},{
		name:'mobile'
	},{
		name:'email'
	},{
		name:'jobnumber'
	},{
		name:'createTime',
		type:'date',
		convert:function(v,record){
			if(!Ext.isEmpty(v)){
				return new Date(v);
			}else{
				return null;
			}
		}
	},{
		name:'lastUpdateTime',
		type:'date',
		convert:function(v,record){
			if(!Ext.isEmpty(v)){
				return new Date(v);
			}else{
				return null;
			}
		}
	}]
});